package com.sanadc.shohdi.chapter2.encapsulation;



public class Employee
{
	protected  String employeeID;
	protected  String firstName;
	protected String lastName;
	
	public int getEmployeeID()
	{
		return Integer.parseInt(employeeID);
	}
	
	public void setEmployeeID (int id)
	{
		employeeID = Integer.toString(id);
	}
	
	
	
	public String getFirstName ()
	{
		return firstName;
	}
	
	public void setFristName(String name)
	{
		firstName = name;
	}
	
	
	public String getLastName ()
	{
		return lastName;
		
	}
	
	
	public void setLastName(String name)
	{
		lastName = name;
	}
	
	
	
	public static void main(String [] args)
	{
		Employee emp = new  Employee();
		emp.setEmployeeID(12345);
		emp.setFristName("john");
		emp.setLastName("Smith");
		
	}
}